﻿using System.Linq;
using System.Web.Mvc;
using Ornament.MemberShip;
using Ornament.MemberShip.Permissions;
using Ornament.Web;
using Ornament.Web.Mvc;

namespace Ornament.MVCWebFrame.Areas.MemberShips.Controllers
{
    [NHibernateFilter]
    public class ResourceController : Controller
    {
        //
        // GET: /MemberShips/Resource/

        public ActionResult Index()
        {
            /*IQueryable<GenericResourceInfo<string>> result = from resource in
                                                                 OrnamentContext.Current.GetDaoFactory<IMemberShipFactory>().GetResources
                                                                 <GenericResourceInfo<string>>()
                                                             select resource;*/

            return View();
        }
    }
}